Fix jshint errors in singlecontroller