Use DOM level 3 syntax for custom events
Merge pull request #12 from metalabdesign/fix_custom_event

Use DOM level 3 syntax for custom events