make console.log available for logging statements in node environment
Merge pull request #444 from bgmort/node-logging

make console.log available for logging statements in node environment by passing the proper global