event.target fixes

event.target turned out to be a read-only property.
Also for every elem.dispatchEvent(evnt) evnt.target automatically
becomes "elem" in major browsers.