Fix a bunch of little jshint warnings