[messaging] Fix a bug - messages won't load in firefox.
[messaging] Fix a bug on create - mobile version.
Add a missing resource.