Let the javascript part to handle languages