US stocks end higher; Nasdaq jumps 2.7%