 
 
 setRequired = ->
-    $('#user-registration-form :input').each () ->        
+    $('#user-registration-form :input').each () ->
         if not $(this).is(':checkbox')
             if not $(this).is(':radio')
-                $(this).prop('required', $(this).is(":visible"))        
-
-    
+                $(this).prop('required', $(this).is(":visible"))
+
+
 checkEligibility = ->
     is_us = $("#country-select").val() in ["US", ""]
     is_k12 = $("#background-select").val() in ["student_el", "student_ms", "student_hs", "student_home"]
     is_student = $("#background-select").val() in ["student_el", "student_ms", "student_hs", "student_home", "student_undergrad", "student_grad"]
-    
-    if not (is_us and is_k12)
+
+    # This should be changed to reflect your eligibility requirements
+    if not is_k12
         $("#eligibility-warning").show()
         $("#adviser-group").hide()
     else
         $("#eligibility-warning").hide()
         $("#adviser-group").show()
-    
+
     if is_student
         $("#school-group").show()
         $("#button-adviser").hide()

                ga('send', 'event', 'Registration', 'Switch', 'JoinTeam')
                setRequired()

  $("#button-adviser").click () -> 
    #$("#stretch-box").css("min-height", $("#stretch-box").height()+offset)
    $("#registration-new-team-page").hide "slide", { direction: "up" }, pageTransitionSpeed, () ->
        $("#registration-join-team-page").hide "slide", { direction: "up" }, pageTransitionSpeed, () ->

        <option value="UG">Uganda</option>
        <option value="UA">Ukraine</option>
        <option value="AE">United Arab Emirates</option>
        <option value="GB">United Kingdom</option>
        <option value="UY">Uruguay</option>
        <option value="UZ">Uzbekistan</option>
        <option value="VU">Vanuatu</option>
