When the edges (and edges only!) are golden, your cookies are done. You want the center slightly underdone when the cookies come out of the oven because they will finish setting as they cool. This is how we get a super soft and chewy cookie!