use displayNotification() js function