Updated all charts with javascript