Bind to 'input' instead of keyup; some adjustments.