Update uglify_js to use the new API

uglify_js.js is currently broken since it uses the old API, this commit fixes it and uses the reference found [here](https://npmjs.org/package/uglify-js).