Javascript Array Distinct Function In Powerapp