change text shadow javascript

JavaScript
document.getElementById("id").style.textShadow = "new";
Source

Also in JavaScript: