Try just object literal instead of MessageEvent