I need to change the font of element created by the createTextNode() function:
var s = document.createTextNode(item.text); s.setAttribute(\"font size\") = -1
maybe you could use inline css. Never tried this with a textnode though
setAttribute('style', 'font-size:-1;');