JS backend: fix translation for extension property