js locale update