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

Refs gh-1788
This file might need to be added to the Gruntfile.