You can try this:
document.getElementById("day").innerHTML = holiday;
Also, you can find innerHTML
reference here[
^]
Furthermore, if you don't access the particular table cell in any other location, your can get rid of this whole line
var day = document.getElementById("day");