refactoring and bug fixes

- save the room name in cookie
- better UI
- minor fixes with document ready and not showing the map on route changes