ok, I just discovered that it works when uploaded to my server and run online.
How do I run it locally?
I'm using Chrome on a Mac if it at all significant.
Edit:
Actually, it doesn't run. I must have still had an old unencrypted file in there or something. Just deleted everything and uploaded all fresh files and it doesn't work...