Fix jshint errors, semicolons missing