Powershell Object Array To String Javascript Functions And Events