add jsdoc to template
add example for templating with underscore library