Update HTML less frequently

This change ensures that the text to be inserted into the subtitle div is different from what is currently there.
It reduces the frequency at which the browser needs to draw that div.