move fromEventTarget a bit up in the source file