added jshint and fixed warning