Refactored global dom event todos