recent changes with window.postmessage