Added condition to set the node ID as the default argument.
Added condition to set the node ID as the default argument.

Solid-Interactive/grasshopper-core-nodejs,Solid-Interactive/grasshopper-core-nodejs,mjmostachetti/grasshopper-core-nodejs,grasshopper-cms/grasshopper-core-nodejs,mjmostachetti/grasshopper-core-nodejs,grasshopper-cms/grasshopper-core-nodejs