add loading support for iframes