title: How to find a property with a specified name and add a new property?
body: <p>How to find a property with a specified name and append the owner object with a new property?</p>
  
  <p>I have a datastructure like this:</p>
  
  <pre><code>var factoryOptions = {
              background: {
                  src: 'images/background.png',
                  width: 4800,
                  height: 3200
              },
              player: {
                  sprite: {
                      src: 'images/tanks/superTank.ss.png',
                      frameTime: 10,
                      frameCount: 3
                  },
                  width: 54,
                  height: 32
              },
              tanks: {
                  light: {
                      sprite: {
                          src: 'images/tanks/lightTank.png',
                          frameTime: 100,
                          frameCount: 1
                      },
                      width: 32,
                      height: 32
                  },
                  medium: {
                      sprite: {
                          src: 'images/tanks/mediumTank.png',
                          frameTime: 10,
                          frameCount: 1
                      },
                      width: 46,
                      height: 46
                  },
                  heavy: {
                      sprite: {
                          src: 'images/tanks/heavyTank.png',
                          frameTime: 10,
                          frameCount: 1
                      },
                      width: 64,
                      height: 64
                  }
              }
          }
      }
  </code></pre>
  
  <p>I want to find all properties "src" and modify the owner object by adding image with this src, so the final result should looks like this:</p>
  
  <pre><code>var factoryOptions = {
              background: {
                  src: 'images/background.png',
                  width: 4800,
                  height: 3200,
                  image: new Image()
              },
              player: {
                  sprite: {
                      src: 'images/tanks/superTank.ss.png',
                      frameTime: 10,
                      frameCount: 3,
                      image: new Image()
                  },
                  width: 54,
                  height: 32
              },
              tanks: {
                  light: {
                      sprite: {
                          src: 'images/tanks/lightTank.png',
                          frameTime: 100,
                          frameCount: 1,
                          image: new Image()
                      },
                      width: 32,
                      height: 32
                  },
                  medium: {
                      sprite: {
                          src: 'images/tanks/mediumTank.png',
                          frameTime: 10,
                          frameCount: 1,
                          image: new Image()
                      },
                      width: 46,
                      height: 46
                  },
                  heavy: {
                      sprite: {
                          src: 'images/tanks/heavyTank.png',
                          image: new Image(),
                          frameTime: 10,
                          frameCount: 1
                      },
                      width: 64,
                      height: 64
                  }
              }
          }
      }
  </code></pre>