Fixed IE8 keyup issues