call changeroom function inside of document.ready