Transducers for JavaScript