Update events.js

fixed indentation