Cleaned up file

Cleaned up JS Lint errors and indentation. Looks good :)