NXP-12198: translate labels in js script