first try of js-tmpl