The uglifyjs module used is outdated, API has changed

Updated the handler to use the new minify() function in updated API.