Add locale service
Add js interface for locale service