Fix problems that can not display I18N messages in Javascript.

Please putt this.