Upgrade uglify requirement to newer API