Finished advance search by ajax