Right now a jst template is included without quotes. It should be: this.JST[name] = "<div id='template'></div>";