Functional Random Streams for Javascript