core.js init