Simple Math for JavaScript Transducers