changed core.js to events.js