Javascript Foreach Loop Through Array Powershell Download Url