sample code for node.js with MongoDB.