function indexOfCustomNode(set, $node, idx) {
        return indexOf(set, $node, idx, JSCompiler_renameProperty("node"));
    }
indexOf an element in a collection of custom nodes

@param {NodeList} set
@param {!Object} $node : A custom cloned node
@param {number} idx : index to start the loop
@return {number}