This prevents an issue where using MathJax would not be configured correctly unless using the mathjax directive.