Remove Studio JS template loader

Loading templates on the page is better than fetching them with AJAX requests. This PR removes the template_loader.js library, and loads JS templates on the page with `<script type="text/template">` tags.