Let's say I have a block of javascript code, and I want to take some of it and host it somewhere else.
Is it possible to then load the now-remote part of the code in the places it was before, as executable code, within the original block, so that the whole thing functions as it did before?
If so, how is this referenced within javascript?