             "Great",
             "Favorite"
         ]
-        @votes = {}
+        @votes = {'0':[], '1':[], '2':[], '3':[]}
 
     registerVotes: (votes) ->
         @posts = votes

                star.removeClass 'star-set-upto'
                star.addClass 'star-set-after'
            i++
        jQuery('#post-score-'+@current_post.id).html score
        jQuery('#favorited-by').html Favorite.link_to_users @votes[@v.fav]
        false




    Moe.on 'vote:update_widget', ->
        vote.updateWidget()

    $('#add-to-favs').on 'click', ->
        vote.set vote.v.fav
        false

    $('#remove-from-favs').on 'click', ->
        vote.set vote.v.great
        false

    $(".vote-up").on 'click', ->
        current_score = vote.getVote()
