prepare to add localization feature to the js