While improving treesit-things for ts-modes, I hesitated to change js--treesit-thing-settings, but now don't see a problem with adapting the same rule as already used by c-ts-mode for a long time that matches all nodes except "{" "}" "[" "]" "(" ")" ",". The problem is that the existing 'js--treesit-sexp-nodes' is a list of nodes joined together by 'js--regexp-opt-symbol', whereas the new definition is a sexp matcher. Therefore we could make the internal variable 'js--treesit-sexp-nodes' obsolete like in this patch: