Changed to use addDOMEvent to bind event

Changed to use addDOMEvent to bind event