Replace innerHTML with textContent