Updated to work with new version of uglify