added core.js file