stripped down for use as npm dependency in MathJax-node