find index of object in array javascript by name

visit shbcf.ru