Fixed bug in html5-notifications