Added check for iframe fixes #11