geting latest msg_id is javascript responsibility now
prettified the chat html layout