Get Object Out Of Array In Javascript