Fix typo in postmessage function call.