Name changes and correct handling of promise failure case.
Name changes and correct handling of promise failure case.

concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap