Allow multiple sandboxes

When accessing the `contentWindow` attribute of an iframe not inserted
in the DOM, IE8 generates an exception (other browsers return null)