aded back the search ajax code