Call window.postMessage directly