treenode.appendChild(newNode) thows error insertBefore is null

Printable View