I'm assuming that sampleData was { responseText: sampleData } ?