JsUnpacker is a java class to decode Dean Edwards' JavaScript Packer.
JsUnpacker jsUnpacker = new JsUnpacker("eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\\\b'+e(c)+'\\\\b','g'),k[c]);return p}('2(0){1(\"3: \"+0);1(\"4\")}',5,5,'str|alert|function|message|ok'.split('|'),0,{}))");
if(jsUnpacker.detect()) {
System.out.println(jsUnpacker.unpack());
} else {
System.out.println("Not P.A.C.K.E.R. coded");
}
function(str){alert("message: "+str);alert("ok")}