user can make multiple calls to the api in a single document.ready