Allow custom xhr factory similar to jQuery.
Remove semi-colon.
Merge pull request #124 from Baboom/master

Allow custom xhr factory similar to jQuery.