US stocks end week on positive note