Make sure document.body.dispatchEvent etc works

Fixes #98