improve switch-language js