add makePieChart to scripts.js