Add allowfullscreen attribute on the iframe node
Move replaceChild after attributes definition. seems to solve frameborder issue on old ie