use svg for mathjax output to improve compatibility