Fix js embedded html i18n extract issue

Fixed RM-2673