I actually think that the lion's share of the credit goes to Pelosi. I seem to remember that when Scott Brown won in Mass, the white house was totally cowering and saying that it wanted to jettison the bill and perhaps only do something on a much smaller scale. And my recollection is that is was Pelosi who said "fuck that", and went balls-to-the-wall to get this sh*t done.
I will concur to the fact that the nations first woman Speaker and the nation's first black president got this sh*t done probably makes the racist teabagger's heads explode.