search works without ajax