Using pub/sub for echoing on the cli, instead of push/pull.
Better d3 version.