Fix IE8 bug for binding events on 'message' events