var LobbyView = View.extend({ events: { "form submit": "join" }, initialize: function(){ this.$createRoom = this.$("#create-room") }, join: function(){ var name = this.$createRoom.sanitizeName() if (! name) { return } window.location.href = "/v/" + name } })