building out ajax utilities