require all of readable-stream ns, and use stream-browserify in the browser