JavaScript localization update