Making xhr async
Merge pull request #228 from alex-seville/master

Changing xhr to async