Running a script with dependencies offline

Hi,

I'm trying to get the script at https://forum.zcashcommunity.com/t/javascript-address-generator-for-zcash/2926 running on a computer that is permanently offline. Could anyone give me any advice? I assume that I have to copy the original script and any dependencies onto the device?

Thanks,

Zeroth

Sorry, I meant this script specifically: https://runkit.com/gojomo/baddr2taddr