Replace innerHTML by textContent