Update room.js

Modifications