if the template is not in the DOM, just return
Merge pull request #211 from PlusMore/template-not-in-DOM-bug

if the template is not in the DOM, just return