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