Sample of nodejs program which can run in console