Add an event listener before existing listeners.