Promises

Using Kris Kowal's Q module

Project on Github API Documentation

If cross-origin, ensure that you're running Google Chrome with the --disable-web-security switch and you've accepted the SLL Certificate exception.