Nasdaq jumps 3.8% as US stocks pare weekly losses