Powershell Object Array To String Javascript Functions Explained