Use xhr instead of native http object
Merge pull request #32 from tangrams/iwillig/xhr

Iwillig/xhr