"addEvent" and "removeEvent" were replaced by "on" and "off"