Updated to allow HTML5 notifications.