Updating the code samples for the nodejs quickstart.

They are now copy+pasteable.