These lines were added to fix a js image load issue (#535) what i cannot reproduce. Hopefully we don't see it again