fixed javascript indentation