Powershell Check For Empty String Javascript Functions Parameters