Update Chart.js with interactive feature and add table column sorting

Updated Charts.js to newer version with interactive features and some
other minor changes.
yep, seems to be better, so it's only called for the tree "ecommerce". I remove the tree the same way as with settings node if the ecommerce doesn't have data for the last 3 years, but I'm actually not sure if you can do it the other way around - only add the tree if it does have some data and after authorization?