Changing the dependency loading of  .js files