Added some template require.js stuff