optimize: delete ajaxSearch func