jshint corrections in app.js & events.js
jshint corrections on controller.js