A lightweight mathjax replacement