Wall Street stocks closed higher on Friday as the blue-chip clawed back some of this week's heavy losses.