       statesRequired = data.states_required
       states = data.states
 
-      statePara = ($ 'p#' + region + 'state')
+      statePara = ($ '#' + region + 'state')
       stateSelect = statePara.find('select')
       stateInput = statePara.find('input')
       stateSpanRequired = statePara.find('state-required')

        stateInput.removeClass('hidden')
        stateSelect.removeClass('required')

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

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

    updateState 'b'

    ($ '#checkout_form_address').validate()

    getCountryId = (region) ->
      $('#' + region + 'country select').val()

    updateState = (region) ->
      countryId = getCountryId(region)
