jslint fixes

* Remove unnecessary semicolon
* Use dot-notation instead of array notation