fix jshint complaints about missing semicolons