moved jshint config into own file; code changes to meet new standard