Update events.js

fixed util/