add core.js file