Added setTimeout to see if iFrame was rendered yet