[Node] Join function and test