New and improved Portfolio Hierarchy example (examples/PH2.js)