Cleanup: Move js for treemap and aggregate_results into own js files.