Final edits and inserting keyup function to live inside the search