Javascript Get Values From Array Of Pointers In Struct