Powershell String Not In Array Javascript Function How To Use