Add an .on(Event,Function) API to make it simpler