fix templates
fix i18n for js files