B/C fix for template_list.js file