added jshint and some more checks