update mathjax
Provisional improvements to the applet API