Simplified event handling for UIEvent types

Can now use "component.onXXX = function(e) { }", no need to use
"addEventListener" for UIEvent types - Improves readability