Library for communicating asynchronously with the BCS using JavaScript Promises