js get innertext minus the span text

JavaScript
document.getElementById("listItem").childNodes[0].nodeValue;

Source

Also in JavaScript: