added javascript for single day donut chart