Replacing keyup with jquery keyup