This dependency can be removed, isn't it ? You don't call uglify directly, and grunt-contrib-uglify relies on UglifyJS 2 so it won't use this version