now only waiting for focus in chrome, in firefox just loading doc