Stocks end higher in choppy trading, Nasdaq touches 14-year high