Formatted some javascripts