Basketjs and Promises in Javascript described.