Progresso do JQuery ajax via xhr

Estou tentando capturar o progresso da solicitação do ajax. Estou seguindo o artigo deste linkhttp://www.dave-bond.com/blog/2010/01/JQuery-ajax-progress-HMTL5/.

Não está funcionando como esperado.Div com idprogressCounter deve ter algo com%, tanto quanto eu entendo, mas nada acontece no meu caso. Qualquer ajuda ?

Parece-me queif (evt.lengthComputable) { não está trabalhando emXHR

JSFIDDLE: http://jsfiddle.net/bababalcksheep/r86gM/

HTML:

<div id="progressCounter"></div><br>
<div id="loading">Loading</div><br>
<div id="data"></div>

JS:

var progressElem = $('#progressCounter');
var URL = "https://api.github.com/users/mralexgray/repos";
$("#loading").hide();
// write something in #progressCounter , later will be changed to percentage
progressElem.text(URL);

$.ajax({
    type: 'GET',
    dataType: 'json',
    url: URL,
    cache: false,
    error: function (xhr, ajaxOptions, thrownError) {
        alert(xhr.responseText);
        alert(thrownError);
    },
    xhr: function () {
        var xhr = new window.XMLHttpRequest();
        //Download progress
        xhr.addEventListener("progress", function (evt) {
            if (evt.lengthComputable) {
                var percentComplete = evt.loaded / evt.total;
                progressElem.html(Math.round(percentComplete * 100) + "%");
            }
        }, false);
        return xhr;
    },
    beforeSend: function () {
        $('#loading').show();
    },
    complete: function () {
        $("#loading").hide();
    },
    success: function (json) {
        $("#data").html("data receieved");
    }
});

questionAnswers(3)

yourAnswerToTheQuestion