Minor code cleanup

* Added missing semicolons
* Fixed indentation