Add I18n support for javascript.