**Unspecified JavaScript error**

Tricky! If you get uninformative error messages, it can be useful to remove parts of your experiment until it does work; that gives you an idea of what part causes the error.