JavaScript Editar H Tag Valor

document.getElementById("yourH1_element_Id").innerHTML = "yourTextHere";
Armandres