navigator is now an EventTarget