Pure Javascript Pivot table and Pivot Chart Component