add jshint option to run on specs, fix some minor problems with specs