fix issue #2 : support notifs (see example/simpleNotif.js)