use nodejs monitor zk state