Configured Require.js for multipage apps