js locale key fix