simulate needs a global document object, so provide it in tests
simulate needs a global document object, so provide it in tests

though it still fails with "document.createEventObject is not a function"
which is nuts since that method hasn't been around since like IE9

hyperhype/hyperscript,dominictarr/hyperscript,dominictarr/hyperscript,hyperhype/hyperscript