Fixed some style and JSHint issues/warnings

* Added missing semicolons
* Indentation is the same for all files