Lint

Working towards removing all JSHint errors so that we can check that as a test for future PRs.
Hmm `revertVote` was never inside `onVote` to begin with, so I'm not sure what you're referring to...