Indent everything correctly

Bad indentation is the root of all evil.
Fix JSHint warnings