Removed an extra postmessage call