locale js issue