Update event-object.js