make xhr.then and xhr.fail no longer throw "undefined is not a function" error.
add ayepromise (fast/lightweight) as the default promise/a+ library.
rebuild distribution files.