search works with rent/return using ajax