Powershell Create Empty Hashtable Javascript Array Filter Get Index