proper-event

Given an event type, automatically get the correct event class (click -> MouseEvent)