Renamed stream_info.js
Flattening some statements, making the code easier to read