updatedevent.js

updated event.js