Update DOM events
Remove trailing whitespace
Merge pull request #382 from loun4/domevents

Update DOM events