Marc,
I noticed one thing in all versions of ASCIIMathML.js that has caused me a lot of headache:
The input values of ASCIIMathML code and LaTeXMath code are not the same and in many cases LaTeXMathML is translated correct with single dollars around but ASCIIMathML translates only part of the code (input code is missing). For example in \hbar only bar is translated, in \hookleftarrow you get infinity between h and k followed by arrow to the left...
It is easy to fix by adding the missing tags but it might be a good idea to take the input tables out of the script so that they could be edited and new tags could be easily inserted.
For example: in ASCIIMathML we have
{input:"rho", tag:"mi", output:"\u03C1", tex:null, ttype:CONST},
but LaTeXMathML code has
{input:"\\rho", tag:"mi", output:"\u03C1", ttype:CONST},
{input:"\\varrho", tag:"mi", output:"\u03F1", ttype:CONST},