XHR implementation of js-git request interface