A simple implementation of an AJAX library with promises.