got the window notification API integrated