Copied a function from TeX/HTML.js to avoid depending on the TeX/HTML.js
Copied a function from TeX/HTML.js to avoid depending on the TeX/HTML.js

Edraak/arabic-mathjax-dev,Edraak/mathjax-dev,Edraak/arabic-mathjax,Edraak/mathjax-dev,Edraak/arabic-mathjax-dev,Edraak/arabic-mathjax