Fixed error caused by delay waiting for DOM to load before checking for iframe