* JS. cm.getNodes() method changes.