Updated comments in event.js