How do I reference javascript source code loaded with inserted script tag

Thank you to anyone who read this post.

I believe I have figured this out. It is a matter of defining
a variable in the written js source file that can always be
reference literally. It is defined as an object and properties
can be addressed via text references.