Made chartjs work