bugfix: In IE element.document is always set to the root document
Merge pull request #4 from unlooped/master

bugfix: In IE element.document is always set to the root document