US markets open higher, trying to recover from massive losses