added jshint and fixed files to pass hinting