add valid presence of iframe code