Changes to the NotificationsCtrl.js