Full threadedko·I noticed that your json2html function assigns the same id (top) to all non-leaf tree nodes. You might want to fix that.View on HN