Corrects errors raised by JSHint

Installed JSHint, which added a node_modules folder to the repo. I've
ignored that in Git, as it feels like something you should manage yourself
rather than pulling down from the Git repo.