Fixed Require.js and main.js file