initialised app, changed requirejs dependency injection.