making requirejs load all dependencies properly.