external postMessage almost working