Fixes postMessage for IE11