adding iframe and doctype checks