Home market S&P 500, Nasdaq Composite & 100 all close at record highs Thursday