I checked my code and yes, you are right, the closure iterators never got used in my JS backend.
But the compilation worked in 1.4.0 without generating an error message for the unused iterators. I put a bunch of **when not defined(js)** around the unused code and finally got 1.4.2 working. Thxs