Using Reduce Method Javascript Array Functions Includes