Add missing template.js