Hi there,

I'm not sure if this is the correction mailing list or not, but wanted to report an issue with JSmol. We are working on integrating JSmol into a web site which already uses MathJax and we ran into an incompatibility issue. We have a crude workaround but I wanted to explore the root cause.

I have discovered that upon execution of the JSmol getApplet() method, the java2script Clazz system seems to replace the standard Javascript Error object with a copy of java.lang.Error. This causes MathJax to fail because it expects to have the standard Javascript Error object available.

Why are objects in the global Javascript namespace being modified and is there a way to prevent it?

BTW I discovered this in test file "jsmol.htm" which ships with jsmol-13.3.3.zip. My test environment was Chrome 28.0.1500.95 on Windows XP.

Gareth Oakes