Not a commit-blocker, but for style points, the typical JS pattern is like this:

    function Node(name) {
        this.name = name;
        /* ... */
    }
    // Instantiate a new node with new Node(name);