revert 'core.js' to npm/npm version