fix a issues that caused TermMap load  failure
Signed-off-by:jasstion <zhaoyufei@edanzgroup.com>
fix a issues that caused JS result is not same as original js result
Signed-off-by:jasstion <zhaoyufei@edanzgroup.com>