Better mechanism for setting document.domain on iframes.