Powershell Array Find Javascript String Methods