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

Our maximum line length is about 80 iirc. (There is a lot of infringing code though).