edit js locale change func