Create core.js