Remove unnecessary postMessage with no parameter.