Add support for passing callbacks into webkit notification constructor