lobby view, model and control js