Undeprecate event/target, fix removeListener check