The making of NASA’s most powerful space telescope