Fix the problem where exception was thrown if there was postMessage
received from another source with another data type.

This is a case when using easyXDM and XDomain at the same time.