localization: update and isolate js translations