improve room list
update latest messages dynamically
refactor js in room list plugin