prettier ajax search