Bug 1009358 - Choose search engine

Can't you use xhr.onload ? I'm not 100% sure, just asking.