Powershell String Startswith String Javascript Functions That Return