Removed js format hacks.
Perl reformat hack in place of JS hack.