added core.js