Add support for embedding as IFrame
fix for IE - postMessage only allows string data