chat layout, demo js msg get/send