Move dom/listen and dom/removeListener to events