jshint says missing semicolon