Nasdaq surges as investors return to tech, crude ends off highs