Javascript Array Not Duplicate Laravel Filament Tutorial