clitest: javascript has indexOf! not find as in python