Edit

document.getElementById('loading-message').textContent = 'Pass ' + passNum + '/5: ' + pass.name + ' — sending ~' + finalTokens.toLocaleString() + ' tokens to ' + selectedProvidersList.length + ' AI(s)...';

document.getElementById('loading-message').textContent = 'Pass ' + passNum + '/' + passes.length + ': ' + pass.name + ' — sending ~' + finalTokens.toLocaleString() + ' tokens to ' + selectedProvidersList.length + ' AI(s)...';