US stocks close week in positive territory