betterify core.js