minify js with closure

for some reason uglify is insanely slow