Javascript String.index may throw an exception as in Python. Add String.find

String.find is the same than the former String.index