switched to eventfuljs and removed event dispatcher code