Reduce the flickering a little more:

* render the iframe with a blob URL instead of adding innerHTML after the fact
* add the additional class in the initial markup