i18n updates to javascript files and related templates