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