use of SPA minimal structure with require.js