Get jshint working
jshint was looking in the wrong directory so it wasn't running. Fix that and style-related errors it uncovered.