add support for embedding into iframe