       else
         seenBroadcasts = []
 
-      $.ajax("#{apiEndpoint}/v3/broadcasts", options).then (response) ->
+      $.ajax("#{apiEndpoint}/v3/broadcasts", options).then (response) =>
         if response.broadcasts.length
-          receivedBroadcasts = response.broadcasts.filter((broadcast) ->
+          receivedBroadcasts = response.broadcasts.filter((broadcast) =>
               unless broadcast.expired
                 if seenBroadcasts.indexOf(broadcast.id.toString()) == -1
                   broadcast

              Ember.Object.create(broadcast)
            ).reverse()

          if receivedBroadcasts.length
            if receivedBroadcasts.findBy('category', 'warning')
              broadcasts.set('lastBroadcastStatus', 'warning')
            else if receivedBroadcasts.findBy('category', 'announcement')
              broadcasts.set('lastBroadcastStatus', 'announcement')
            else
              broadcasts.set('lastBroadcastStatus', '')

        broadcasts.set('content', receivedBroadcasts)
        broadcasts.set('isLoading', false)


  gravatarUrl: (->
    "#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=48&d=mm"
  ).property('user.gravatarId')

  defineTowerColor: (broadcastArray) ->
    if broadcastArray.length
      if broadcastArray.findBy('category', 'warning')
        return 'warning'
      else if broadcastArray.findBy('category', 'announcement')
        return 'announcement'
      else
        return ''

  broadcasts: (->

