Access Object Within Array Javascript Methods Syntax