fixing internationalization of js