Auto complete form and added keyup event to input