set nodeValue instead of innerHTML to avoid calling the html parser