localize js files