Powershell Check For Empty String Javascript Program