I am trying to push a variable into a property in a nested object, but Javascript keeps giving me this error: TypeError: Cannot read property \'push\' of undefined"