Revert "Update rooms.js"

This reverts commit 98b96e0e286331a4719d359cadc49d9f05628471.