FINALLY FIGURED IT OUT. And oh boy is it so simple. Literally just needed to add the following code to the end of each of my HTML texts. No need for an iframe. Each time the dynamic HTML text updates, it runs the script (I assume)

<script>
MathJax.typeset()
</script>