http://www.perlmonks.org?node_id=1042733

Doctrin has asked for the wisdom of the Perl Monks concerning the following question:

Hello dear Monks. Is there a module, except of JavaScript::Packer, to minify js files? JavaScript::Packer does not give proper minification for the following js code note: no semicolons at the end
if (!clickedElement) clickedElement=document.all.nodeId.style if (!clickedElement) return 1 if (clickedElement.display == dspl){
transforming it to
if(!clickedElement)clickedElement=document.all.nodeId.style if(!clicke +dElement)return 1 if(clickedElement.display == dspl){...
which is wrong. Is there other modules? Thanks in advance.