Fix double-typeset-after-clone MathJax tmpl bug

Test Plan:
Visited /exercises/divisibility.html?seed=131&problem=0&debug and saw 91, not 9191.

Auditors: eater, cbhl