add require.js and require-text for template loading
work in progress on dashboard builder