a library to make and mock ajax calls