To run the script, you can type:
$ node node_mongo.js
You can always see the data changes by using MongoDB. To start MongoDB on your local server, run it as a daemon:
$ sudo mongodb
and then run the MongoDB console:
$ mongo
You will then be given a MongoDB prompt.