js scripts localization