silence spurious jshint messages and fix a missing semicolon one