0👍
If you just want to change some visual stuff you could try using document.querySelector("#YOUR_ID").innerHTML = "Whatever you want";
(I hope this is what you need and I didn’t understand your question wrong)
You could also take a look here for more information:
https://www.w3schools.com/js/js_htmldom_document.asp
Source:stackexchange.com