fixed a very slow speed of JavaScript compressor