Separated client side application, modified require.js