Sample code with mongodb and node.js