Add some extra style checks to jshint and fix them in the files

The problem is that `npm test` needs to be done more frequently, and for that to happen, it needs to be faster.