It looks like this is the current source of the client-side error being thrown for me... `tmpl` isn't defined anywhere.