Treemaps in JavaScript