 
 @userHasNoVotes = (element) ->
   alert = "<div class='alert alert-danger', style='width:90%;'> You have used all of your votes! Come back tomorrow to vote more.</div>"
-  $(element).after alert
+  $(element).before alert
 
 
 

      ,400
      , ->
        newWidth = parseFloat($(element2).find(".progress-bar").attr("aria-valuenow"))
        console.log newWidth
        $(element1).removeClass "disabled"
        $(element1).addClass "voted"
        $(element2).addClass "in"

        ,100
        , ->
          newWidth = parseFloat($(element2).find(".progress-bar").attr("aria-valuenow"))
          $(element2).addClass "in"
          $(element2).find(".progress-bar").width newWidth + "%"
          $(element2).find(".progress-bar").html newWidth + "%"
