function performInstall(url) { var lastResponseLength = false; var lastId = 1; var ajaxRequest = $.ajax({ type: 'get', url: url, data: {}, dataType: 'html', processData: false, xhrFields: { // Getting on progress streaming response onprogress: function (e) { var progressResponse; var response = e.currentTarget.response; progressResponse = response; if (lastResponseLength === false) { progressResponse = response; lastResponseLength = response.length; } else { progressResponse = response.substring(lastResponseLength); lastResponseLength = response.length; } $('