Add auxiliary method to EventTargetHelpers for events without target

servo/pull/4369 with the right commit.