window postmessage plugin for cross-window messaging