handle SSJS environments too

Since this repo has a package.json now, it's usable from both node >0.9 and browsers.
This patch accounts for environments that aren't browsers and aren't node >0.9.
I rely on this module for nextTick that doesn't suck in component-land, it'd be awesome if my cross-platform JS could benefit from it too.