A Node.js port of Haskell's zipWith function