add custom map function argument to .fromEventTarget()