issue #3510 Javascript compress