結果 : add to array if not exists javascript