set notifications correctly since webkitNotifications has been depercreated