node sample code