Js Array Object Find Index