Updated javascript to fix notification cookie and correctly handling clicking links in headers