```coffeescript
Neighborly.Payment = Backbone.View.extend
  el: '.payment'

  initialize: ->
    _.bindAll this, 'showContent'
    this.$('.methods input').click (e) =>
      this.showContent(e)
    this.$('.methods input:first').click()

  showContent: (e)->
    this.$('.payment-method-option').removeClass('selected')
    $(e.currentTarget).parents('.payment-method-option').addClass('selected')
    this.$('.container .loading').addClass('show')
    this.$('.payment-method').addClass('loading-section')
    $payment = $("##{$(e.currentTarget).val()}-payment.payment-method")

    if $payment.data('path')
      $.get($payment.data('path')).success (data) =>
        this.$('.payment-method').html('')
        $payment.html data
        Initjs.initializePartial()
        $payment.show()
        this.$('.payment-method').removeClass('loading-section')
        this.$('.container .loading').removeClass('show')
```

Add JS affix to order summary
user
```coffeescript
Neighborly.Payment = Backbone.View.extend
  el: '.payment'

  initialize: ->
    _.bindAll this, 'showContent'
    this.$('.methods input').click (e) =>
      this.showContent(e)
    this.$('.methods input:first').click()

  showContent: (e)->
    this.$('.payment-method-option').removeClass('selected')
    $(e.currentTarget).parents('.payment-method-option').addClass('selected')
    this.$('.container .loading').addClass('show')
    this.$('.payment-method').addClass('loading-section')
    $payment = $("##{$(e.currentTarget).val()}-payment.payment-method")

    if $payment.data('path')
      $.get($payment.data('path')).success (data) =>
        this.$('.payment-method').html('')
        $payment.html data
        Initjs.initializePartial()
        $payment.show()
        this.$('.payment-method').removeClass('loading-section')
        this.$('.container .loading').removeClass('show')

        $('.order-summary').affix({
          offset: {
            top: '-100px'
            bottom: ->
              return (this.bottom = $('footer').outerHeight(true) + 65)
          }
        })
```
assistant