miscellanous example/tutorial node.js code