Javascript plugin providing support for HTML5 notifications