Update src/EventTarget.js

Added support for property-set event handlers (like `eventTarget.onsomeevent = function() { ... }`).