onChange event + sample, IE8 fixes