fix to access iframe document in IE

You were almost there with your last commit it seems. I made a little tweak to the line that access the iframe document and now it works in IE8 and IE9. This should finally close #29 hopefully!