結果 : add object to array if not exists javascript