Incorrect URLs after files were moved corrected.
Incorporating Soonbo Han's suggested change for resolving promise on load event.