dom/event: simplify .currentTarget and .type polyfills