add example of JS-rendered template