fixes bug in IE and Firefox with webkitNotifications supported only in Chrome