IE8 and IE9 oninput hack