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

Done