add support to multiple iframes