issue #3501 Javascript compress