updated donut.js file