Dynamically Load JavaScript Files

-transitioning app to pure JS so I can embed it on my website so made JS
files dynamically loaded using jquery