Powershell Add Array Object Javascript Definition Programming