Using MathJax and PhantomJS to create SVGs and MathML server side with minimum overhead.