Update core.js for my project

Update core.js for my project