using mathjax for more consistent results