loadScript recursion complete