Add base replicate_traffic.js script to repository.