add jshint and ignore some warnings