postMessage module by ben alman.