Powershell Check For Empty String Javascript Programming