refactored the static methods to a static wrapper
ability to add rooms in ui
js refactor: abstracted doc ready, added ability to stop polling, renamed js to read a little better