Fix issue with IE SecurityError
Merge branch 'master' into gh-pages