require.js plugin for loading templates and inject them as <script type=text/html> elements