fix the more aggregious jshint problems