Powershell Hashtable Add Array Javascript Length Function