Make demo2.html output different from demo.html
API change: addNode() now accepts string or Node