Rename core.js to document/core.js