title: Meteor.js onRendered & rendered
body: <p>As of recently all documentation of meteor states that <code>onRendered</code> is a new way to get a callback when template has finished rendering. and <code>rendered</code> is just for backwards compatibility. </p>
  
  <p>However, that just does not seem to work for me. <code>onRendered</code> never gets executed, while <code>rendered</code> does. I have newest meteor version 1.1.0.2</p>
  
  <pre><code>//only this is executed
  Template.hello.rendered = function(){
    console.log('rendered');
  }
  
  //and this is not
  Template.hello.onRendered = function(){
    console.log('onRendered');
  }
  //even if I comment first one out
  </code></pre>
  
  <p>and both functions in action you can see in this github <a href="https://github.com/martunta/metRendered" rel="noreferrer">repo</a>. 
  Am I doing something wrong, or this is a defect in onRendered?</p>
  
  <p>and second question - reason why I started to dig into this - how can I execute code every time an dom element is added/removed to my template? <code>rendered</code> does not seem to get called when that happens. Is there any other way?</p>