fixed require.js to load the app properly