Javascript snippets that draws the DOM tree of a page