For a11y, modal dialogs and script templates should be hidden...

from screen readers. Also, the mathjax message should be wrapped to prevent
non-IE browsers from complaining about a feature that is IE-only.