Loading of survey template now in application.js. Allows for dynamic loading of json templates.