remove repeat js