added replicate data js