fixed issue with uglify-js upgrade