Rename initCharts to handleCharts and change chart location