Fixed jshint issues on controllers.js file