SICP streams (in JavaScript)