Rename core.js to mag.js