instead of `createHTMLDocument` since it isn't fully support by the browsers we care about. fixes #606 fixes #454
oncontextmenu
nodeContains
containsNode