US stocks close Thursday in green side