postMessage simplified