added support for slow loading iframes