added semicolons for jshint