Check for MathJax availability before displaying button.