I am trying to use the JSXGraph library in a problem. It works great, but my WeBWorK server is secure (using https) and it loads the JavaScript library from a non-secure website (using http). It worked without a warning on my Mac, but on Chrome on my Windows machine it failed silently. I looked at the JavaScript console and it failed because of the JavaScript library being loaded from a non-secure site (although the WeBWorK problem was loaded over a secure site).
I assume one way to solve this is to place the JavaScript library in my local file system and load it from my problems. This makes the problems more difficult to share in the OPL though. The instructors (or admins) would need to load the JavaScript libraries onto their local file systems/servers for these problems to work.
Is there a solution others have found to this that may be easier to use for sharing problems to the OPL?
Also, what web address do I use to access JavaScript files I save in a folder in my templates folder of my course file system? I don't want to have to store the library in the same folder as the problem itself.