minify compress was broken due to unclean js

* changed prng.int() which clashes with a js keyword to the name prng.randint()
* removed trailing commas in worker.js