added some options to the loader and added deferred on app.ready