Use node.hide() or node.show() methods, as described in: Hiding Object from html - #2 by wojtek
node.hide()
node.show()