Powershell Add Hashtable To Array Javascript Function