compress js front code