higher level api for creating and using iframes in browsers