Install uglify-js as local node module to use in build script

This makes uglify-js installable via `npm install`, removing the need to install it globally to be able to run the build script.