Add "message" and "pmessage" events