Code refactoring, closured dropchart.
Sample organization.