Change default behavior of dispatchEvent() shortcut in case when event is send as param
Merge pull request #23 from stloyd/feature/dispatch_event

Change default behavior of dispatchEvent() shortcut in case when event is send as param