Upgrading Mathjax to version 4

Yes, exactly. A good one to copy is morphlex: