remove duplicate data js