Revert "Revert "Update rooms.js""

This reverts commit cfc0991984424add11d28c07affc399d73699b3e.