Concat require.js and main.js, render edit page as hijax