Check for selection on keyup instead of deferring

This is essentially what we do for the change event in IE8 and IE9 already.