Fix Node environment detection
Fix Node environment detection

Unfortunately some packages assign `global` to `this`. This breaks the
resemble.js detection of Node. Use inspection of `process` instead as
suggested:

  https://stackoverflow.com/questions/4224606/how-to-check-whether-a-script-is-running-under-node-js

Huddle/Resemble.js,rsmbl/Resemble.js,rsmbl/Resemble.js,Huddle/Resemble.js