Create mCore.event.js