Update events.js

just sticking to the standard