Auto initialize the eventsWithCallback object.

This makes the if check obsolete every time we add a listener.
Merge pull request #1 from MichielDeMey/patch-1

Auto initialize the eventsWithCallback object.