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

Hi,

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: https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js) or JavaScript files on my local computer to JavaScript Snap scripting?

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