Prohibit unused variables in jshint, fix a few warnings