Replacing innerText with standardized textContent when supported, closes #2