Update replicate.js