Add window.onclick = null to better match real browsers

While investigating some test failures, it appears that JSDOM does not provide the `onclick` property of `window`. Most browsers have this property, with a value of `null`. This PR allows drive.js to better match browsers for running tests. Will issue a PR to fix in JSDOM as well. (Who knows if they will accept.)