This makes some variables local that were accidentally global in the AsciiMath input jax.
Resolve issue #2748 (closed).