Compatible with MathJax Safe mode