Added variables in the script.js of Slice of Pie part 1