Powershell String Startswith String Javascript Methods