a javascript template engine like angularjs template