search ajax fixes