added width/height properties to the HTMLElement
added "trigger" method for event dispatching