I'm not really familiar with javascript currently, I can program in it - I just haven't for a long time so forget how some things work. If I made a javscript library in Kotlin, would I be able to load it from a local file location? Or does it have to be placed on a server? I'm making a Firefox Addon if that matters, possibly at some future time might migrate it to chrome. So therefore this question is specifically about javscript being run in an addon or extension, not on a page. Addon/extension is for personal use, it won't be "in a store"