Add jshint and make required corrections
Update jshint rules