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

Refs gh-1788
I just don't like jshint comments. What about a jshintrc in the ajax folder?