Move charts logic into separate chart_values.js which exists in index.js