Standalone version of d3's Tree Layout (perfect for WebWorkers!)