Do not create another template if already there is a template on the page

I have put the component on a single-page application using Backbone.js and when another state renders the page and the state is switched back to the page that has the component another template is rendered and appended to <body>. 

This patch makes it so that is checks the existence of the element and just picks it instead of rendering another template.