Museum of the Earth dodges foreclosure with help from donors