Support for node.js too!

Since javascript is increasingly used server side, it makes sense to use an output method found on all platforms :)