Fix Microsoft Edge bug where half of the viewport would always show a loader
Microsoft Edge behaves different (from Firefox and Chrome) when setting an element
null. As far as I can see the behaviour is not specified. Apparently Edge ignores it while other browsers treat it as
x.innerHTML = '' (which is what MDN says you should do to clear an element).