Stocks slightly higher as U.S. weekly jobless claims show small gains