Problem with AJAX and MathJax reattachment