* updated pre-js script

* https://hacks.mozilla.org/2014/11/porting-to-emscripten/