creates jst file out of templates and minifies them