firefox needs timeout for generated iframe