rename events to match dom event style