update to use the new UglifyJS api