San Jose Earthquakes have replaced Real Salt Lake at the top of the MLS' Western Conference after a slender win in Utah.