Advanced JS Deobfuscation via Partial Evaluation.
npm install
Deobfuscate file:
./jstillery_cli.js filename
Deobfuscate from stdin
echo 'a= String.fromCharCode(41);b=a'| ./jstillery_cli.js
Build server code:
npm run build_server
If you wish change server/config_server.json
Then launch the server:
npm run start_server
Launch server then:
$ curl 'http://localhost:3001/deobfuscate' -d '{"source":"a=1"}' -H 'Content-type: application/json'
{"source":"a = 1;"}
Add obfuscated code to the upper text area and press CTRL-ENTER.

GPL 3.0
Feel free to contribute in any way!