Get An Object From An Array Javascript