Promises & named functions are your friends!
So you can do stuff like this:
callToRemoteApi().then(processData)
.then(makeAnotherCallToAnotherApi)
.then(processAllTheData)