Fix invalid state error by instantiating new XHR with each request
Basic error handling
Refactor xhr functionality into ajax object
Rebuild for deployment
Merge pull request #2 from Sextant-WDB/xhr

Xhr