Js Find Index Of Object In Arrays