Change Perl and JS indentation

Code clarification...