Hubble was as successful and long-living as it was because of several manned maintenance, upgrade and repair missions mentioned by others already - but Hubble is in a LEO, only a few 100km from Earth. The JWST? 1.5 million km. So missions like these aren't going to happen, this has to work on the first try.