Move charts logic into separate charts.js which exists in index.js and push code to prod

Merge this change