Fixed mathjax (erase and redo)