title: Store instance reference in a for loop with Tween.js
body: <p>I am looping through an array of CSS3DObjects in THREE.JS and want to remove them from the DOM in the context of Tween.js onComplete(). But how do I refer to the dom instance so each Tween instance can tell the dom element to remove itself?</p>
  
  <pre><code>for ( var i = 0; i &lt; _tier1Objects.length; i ++ ) {
      new TWEEN.Tween( _tier1Objects[i].position )
          .to( {z: -50}, 1000 )
          .easing( TWEEN.Easing.Quadratic.Out)
          .onComplete( function() {
              scene.remove( [CSS3DObject instance] ); // REMOVE THE THREE JS OBJ INSTANCE
              $([dom element]).remove(); // REMOVE THE HTML DOM ELEMENT VIA JQUERY
              })
          .start();
  }
  </code></pre>
  
  <p>Perhaps there's a best practice I'm not aware of here. Please advise.</p>