IE8 fixes for sandbox debugging. FML
fixes #745
Merge pull request #772 from ractivejs/gh-745

gh-745