Call postMessage without second argument if using transferable elements failed