extract stream detector to its own type
javascript graph doesn't need time anymore