Powershell Function Array Javascript Append Text