Powershell Check If Array Empty Js