fixed issue when uglify is not installed.