Powershell Script Check If String Javascript