Pie chart is moving!

- updated javascript for pie polling