Since listeners are called in the order they were registered,
the order of event listeners for a particular event type will always
be first the event listeners registered with addEventListener()
before the first time the event handler was set to a non-null value,
then the callback to which it is currently set, if any, and finally
the event listeners registered with addEventListener() after the
first time the event handler was set to a non-null value.