Attempt to fix IE 9 open window issue.
Merge pull request #361 from Jedwondle/master

Fixed the IE 9 open window issue.