S&P 500, Nasdaq open at record levels as jobless claims ease