add jshint task, ran npm prune, and fixed various jshint errors