Create a messaging app with javascript and M2S