refactor with jquery.i18n