remove first window argument from add/removeEventListener