core.js clean