Added domready and preload options to dependencyLoader