working with external template via Jquery and text.js plugins of require.js