Gracefully handle failed requests
Merge pull request #11 from coldacid/feature/xmlhttp-graceful-fail

Gracefully handle failed requests