title: running requestAnimationFrame from within a new object
body: <p>I'm having trouble running an animation. This is inside <code>var ob1 = function() {};</code>. When called, it runs for a while and then I get the error <code>Uncaught RangeError: Maximum call stack size exceeded</code>. However, this same structure has no problems running outside of the object.</p>
  
  <pre><code>/////////////// Render the scene ///////////////
  this.render = function (){
  
          renderer.render(scene,camera);
          if(isControls == true) controls.update(clock.getDelta());
          this.animate();
          //console.log(true);
          requestAnimationFrame(this.render());
  }
  
  /////////////// Update objects ///////////////
  this.animate = function (){
          console.log("!");
  }
  </code></pre>