Improve MathJax config and how it handles dynamic update. #4