Js-reduce, js-sum and better js-length.