Fix jshint errors in controllers.