Allow usage in iframes. Fixes #12