Javascript Arraylist Add Function To Powershell Update Node