tee(1) for javascript