RequireJS loader plugin for templates