Prova cosi ma è da verificare:
var aggiungi = ajax.responseText.replace(ajax.responseText, valoredasommare)