Try using postMessage.