Create ajax wrapper functions... mainly