Fix problems that can not display I18N messages in Javascript.
Merge pull request #13 from linaizhong/master

Fix problems that can not display I18N messages in Javascript.