fixed event handling and onChange for IE6-8