Modify rooms.js.