JS : Chat, append to div