Javascript Access Nested Object Property Dynamically Linked