Use onMessage event for IE8 custom events