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