US stocks close in positive territory