Changes for the server side search functionality using ajax