S&P 500 at record in broad rally, Nasdaq at 14-year high