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

Contributed by martinduparc