Build: Don't assume the browser environment; smoke test on Node w/ jsdom

Refs gh-1788
How about creating a subdirectory `src/ajax/var/browser-only/` with vars for `DOMParser` & `XMLHttpRequest` and put such a `.jshintrc` there?