Simple library to make XHR