Registers the given event listener f to receive events of type t, where f is a function and t is a string; returns this. When an event of the given type is dispatched, any registered listeners will receive the given event as a single argument to the function f. The this context of the function will be this dispatch object.
This method is similar to the W3C-specified addEventListener.
Removes the given event listener f from events of type t, where f is a function and t is a string; returns this. If the listener f is not registered to receive events of type t then this method has no effect.
This method is similar to the W3C-specified removeEventListener.