Вызовите this.notify () и объявите notify () следующим образом
YourAssistant.prototype.notify = function(custom,event) {
console.log("################# NOTIFY ############")
var target = custom;
var appController = Mojo.Controller.getAppController();
this.controller.commitChanges();
var bannerParams = {
soundClass: '',
soundFile: '',
icon: '',
messageText: 'hahaha hahaha'
}
appController.showBanner(bannerParams, {banner: this.message});
}