experiment: putting all $.ajax API stuff into an API object