Powershell Function Array Javascript Push