handlebars and templates are loaded with require.js