Propagated teh document.domain of the parent window to IFRAME

Current implementation doesn't propagate the document.domain to the child IFRAME.
This causes the `Unsafe JavaScript attempt` error.

    Unsafe JavaScript attempt to access frame with URL http://foo.bar.com/accounts/1243/user_create_bulk from frame with URL http://foo.bar.com/accounts/1243. The frame requesting access set 'document.domain' to 'bar.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.