Integrated tree and stacked area visualizations to be on the same page, extracted common code into shared AMD modules.