Design message form design and display date using moment.js