Fix thread expanding.

Apparently an xhr's reponse is read-only.