```coffeescript
$( ->
  $modal = $('.js-feedback-modal')
  $iframe = $('.js-feedback-modal iframe')
  iframeIsLoaded = false

  openFeedbackFrame = ->
    iframeIsLoaded = true
    $modal.fadeIn('fast')
    $iframe[0].contentWindow.updateHeight()

  $(".js-feedback-modal-link").on('click', ->
    if !$iframe.attr('src')
      $iframe.attr('src', $iframe.attr('data-src'))
      $iframe.load(openFeedbackFrame)
    else if(iframeIsLoaded)
      openFeedbackFrame()
  )
  $(".js-feedback-modal-layer").on('click', ->
    $modal.fadeOut('fast', ->
      if iframeIsLoaded
        $iframe[0].contentWindow.onCloseFrame()
    )
  )
)
```

Remove some parens per @markijbema's suggestion.
user
```coffeescript
$ ->
  $modal = $('.js-feedback-modal')
  $iframe = $('.js-feedback-modal iframe')
  iframeIsLoaded = false

  openFeedbackFrame = ->
    iframeIsLoaded = true
    $modal.fadeIn('fast')
    $iframe[0].contentWindow.updateHeight()

  $(".js-feedback-modal-link").on 'click', ->
    if !$iframe.attr('src')
      $iframe.attr('src', $iframe.attr('data-src'))
      $iframe.load(openFeedbackFrame)
    else if iframeIsLoaded
      openFeedbackFrame()

  $(".js-feedback-modal-layer").on 'click', ->
    $modal.fadeOut 'fast', ->
      if iframeIsLoaded
        $iframe[0].contentWindow.onCloseFrame()
```
assistant