I copied and pasted the scipt.js in Slices of Pie part 1 to the script.js in Slices of Pie part 2.