Upgrades jshint and fixes lint errors.