find index of object in array javascript by id

join shbcf.ru