zend formatting JS code