Powershell Convert Variable To Array Javascript