Properly escape in ajax lookup stuff.