This is the script needed to load MathType on your page without needing a script tag in the head of the document.
Using NPM
npm install github:vhs-ron/-wiris-custom-mathtype-implementation#master
To use the script, load it for side effects using:
import '-wiris-custom-mathtype-implementation'