Extending JavaScript with WebKit. Notification class.