lib/main.js
function TypesetDone(result) {
  if (timer) {clearTimeout(timer); timer = null}
  html.removeAttribute("xmlns:"+data.xmlns);
}
function TypesetDone(result) {
  if (timer) {clearTimeout(timer); timer = null}
  html.removeAttribute("xmlns:"+data.xmlns);
}
function TypesetDone ( result ) { if ( timer ) { clearTimeout ( timer ) ; timer = null } html . removeAttribute ( "xmlns:" + data . xmlns ) ; }
When the expression is typeset, clear the timeout timer, if any, and update the MathJax state,
When the expression is typeset clear the timeout timer if any and update the MathJax state