templates.js - if custom theme is missing a template, render default template