pull in mathjax conditionally

refs #373