Use valid MathJax delimiters.

MathJax does not support $ as a delimiter by default, so math was not
displayed properly on the “Forward and Backward” page.