fixed Event.js