This is a Browser Action API.
_wait(maxTime, condition)
The parameters are:
_wait(1000);
// Will stop execution for a second
_wait(1000, _byId("ajaxy").innerHTML!="")
// Will wait till div by id “ajaxy” is populated
// or one second, whichever occurs sooner