Draw web page's DOM to svg file via d3.js tree