Fixes #595, updates uglify to latest version, uses new method to embed uglifyjs to preserve files better
snapshot