Fixed some variable names in latest commit to Streams.js