jshint tracks more dirs now. minor refactoring