jshint complained about missing semicolon