How to load/reference online or on-disk JavaScript files to JavaScript Snap scripting


I am able to load JavaScript dependency files to my JavaScript Snap scripting from SLDB. But, can I load/reference online JavaScript references (for ex: or JavaScript files on my local computer to JavaScript Snap scripting?

If yes, can you provide me an example as well? Thank you!