Modularity and Asynchronous loading using require.js