Update events.js

just sticking to the standard
Merge pull request #1 from s72785/patch-1

Update events.js