Update events.js

traces