Jshint server pass part 1

Mostly trivial stuff, but uncovered some bugs with ban/unban in `commands.js`. Some more files to go.