All three major averages jumped on Friday, registering strong gains for the week.