Commented and rearranged some stuff in Rooms.pm and chat.js