Fixing node sample code so it actually works.
Merge pull request #3 from mekka/master

Fixing node sample code so it actually works.