make uglify optional