int l = node.numberOfNodes();
    public Object[] jsFunction_list() {        int l = node.numberOfNodes();        Enumeration e = node.getSubnodes();        ArrayList a = new ArrayList();        while ((e != null) && e.hasMoreElements()) {            a.add(e.nextElement());        }        return a.toArray();    }