Force uglify-js dependency to use version 1

Version 2 of uglify-js has changed the API. Another option, is to update the code to use the new API