use default arguments for getDependency config and jsfile