Move main_require.js and modify files accordingly.