Use Variable In Powershell String Comparison Javascript