Fixed error in room.js