add require.js and main.js