Changed jQuery event from keyup to input