Add comments to the samples/stream.js code embedded in the README

This is the same patch I recently made to stream.js, ported to the README.