     ($ '#checkout_form_address').validate()
 
     getCountryId = (region) ->
-      $('p#' + region + 'country select').val()
+      $('#' + region + 'country select').val()
 
     updateState = (region) ->
       countryId = getCountryId(region)

        ($ '#shipping .inner input, #shipping .inner select').prop 'disabled', false
        updateState('s')
    
    update_shipping_form_state order_use_billing
        stateInput.removeClass('hidden')
        stateSelect.removeClass('required')

    ($ '#bcountry select').change ->
      updateState 'b'

    ($ '#scountry select').change ->
      updateState 's'

    updateState 'b'
