Initial work on eachIt in js.