diff --git a/ui/js/widget.js b/ui/js/widget.js
index 3a9ee40..7022142 100644
--- a/ui/js/widget.js
+++ b/ui/js/widget.js
@@ -91,7 +91,7 @@ $(document).ready(function() {
var last = builders.pop();
var count = result.count;
$("#builder-count").text(FormatNumberBy3(count, ".", ","));
- if (builders >= 1) {
+ if (builders.length >= 1) {
$.each(builders, function(index, c) {
$('#builder-list ul').append('
' + c.first_name + ' ' + c.last_name + '');
});
diff --git a/ui/js/widget.min.js b/ui/js/widget.min.js
index 6bf206e..3d3c4a4 100644
--- a/ui/js/widget.min.js
+++ b/ui/js/widget.min.js
@@ -1 +1 @@
-function FormatNumberBy3(b,c,d){if(2==arguments.length&&(d=","),1==arguments.length&&(d=",",c="."),b=b.toString(),a=b.split(c),x=a[0],y=a[1],z="","undefined"!=typeof x){for(i=x.length-1;i>=0;i--)z+=x.charAt(i);for(z=z.replace(/(\d{3})/g,"$1"+d),z.slice(-d.length)==d&&(z=z.slice(0,-d.length)),x="",i=z.length-1;i>=0;i--)x+=z.charAt(i);"undefined"!=typeof y&&y.length>0&&(x+=c+y)}return x}$(document).ready(function(){function a(a,c){var d=a.result,e=d.left_days>=1?d.left_days:0,f=d.left_hours>=1?d.left_hours:0,g=d.left_mins>=1?d.left_mins:0;$(".goal").text(d.goal_formatted),$(".percentage").text(d.percentage),$(".count").text(d.people),$(".remaining").text(d.remaining),$(".progress-bar").css("width",d.percentage+"%"),$(".progress-bar").attr("aria-valuenow",d.percentage),$(".progress-bar").attr("aria-valuemin",0),$(".progress-bar").attr("aria-valuemax",d.goal),e>1?($(".days").html(e),$("i.days-left").html("days left")):1==e&&($(".days").html(e),$("i.days-left").html("day left")),0===e&&($(".hours").html(''+f+" hours, "),$(".minutes").html(''+g+" minutes remaining.")),"once"==c?($({countNum:$("span.amount").text()}).animate({countNum:d.raised},{duration:4e3,easing:"linear",step:function(){$(".amount").text(FormatNumberBy3(Math.floor(this.countNum),".",","))}}),$.each(d.contributors,function(a,b){$("ul.contributor-list").append(''+b.name+", "+b.city+", "+b.state+"")}),$.each(d.votes,function(a,b){return null===b?"continue":void $("ul.priorities").append(''+b.count+" votes "+b.name+"")}),d.left_days<1&&d.left_hours<1&&d.left_mins<1?$("#campaign-end").html('The campaign is now over but you can still join The Tyee and help bring more great independent journalism to national issues. Thanks to all who signed up.
'):0===d.left_days&&$("#campaign-end").html('Campaign ends tonight at midnight!
')):"update"===c&&($(".amount").text(FormatNumberBy3(d.raised,".",",")),$(".contributor-list li:first").slideUp(function(){$(this).appendTo($(".contributor-list")).slideDown()}),$("ul.priorities li").remove(),$.each(d.votes,function(a,b){return null===b?"continue":void $("ul.priorities").append(''+b.count+" votes "+b.name+"")}),d.percentage>99.99&&(clearInterval(b),$(".progress-bar").html('We did it!'),$(".remaining").text("$0")))}url="https://widgets.thetyee.ca/progress.json?cb=?&campaign=election2015&date_end=2015-04-13&goal=50000&date_start=2015-03-20&multiplier=3",$.getJSON(url,function(b){a(b,"once")});var b=setInterval(function(){$.getJSON(url,function(b){a(b,"update")})},5e3);$.getJSON("https://widgets.thetyee.ca/builderlist.json?date_start=2015-03-20&cb=?",function(a){var b=a.result,c=b.builderlist,d=c.pop(),e=b.count;$("#builder-count").text(FormatNumberBy3(e,".",",")),c>=1?($.each(c,function(a,b){$("#builder-list ul").append(''+b.first_name+" "+b.last_name+"")}),$("#builder-list ul").append(' and '+d.first_name+" "+d.last_name+"")):$("#builder-list ul").append(''+d.first_name+" "+d.last_name+"")})});
\ No newline at end of file
+function FormatNumberBy3(b,c,d){if(2==arguments.length&&(d=","),1==arguments.length&&(d=",",c="."),b=b.toString(),a=b.split(c),x=a[0],y=a[1],z="","undefined"!=typeof x){for(i=x.length-1;i>=0;i--)z+=x.charAt(i);for(z=z.replace(/(\d{3})/g,"$1"+d),z.slice(-d.length)==d&&(z=z.slice(0,-d.length)),x="",i=z.length-1;i>=0;i--)x+=z.charAt(i);"undefined"!=typeof y&&y.length>0&&(x+=c+y)}return x}$(document).ready(function(){function a(a,c){var d=a.result,e=d.left_days>=1?d.left_days:0,f=d.left_hours>=1?d.left_hours:0,g=d.left_mins>=1?d.left_mins:0;$(".goal").text(d.goal_formatted),$(".percentage").text(d.percentage),$(".count").text(d.people),$(".remaining").text(d.remaining),$(".progress-bar").css("width",d.percentage+"%"),$(".progress-bar").attr("aria-valuenow",d.percentage),$(".progress-bar").attr("aria-valuemin",0),$(".progress-bar").attr("aria-valuemax",d.goal),e>1?($(".days").html(e),$("i.days-left").html("days left")):1==e&&($(".days").html(e),$("i.days-left").html("day left")),0===e&&($(".hours").html(''+f+" hours, "),$(".minutes").html(''+g+" minutes remaining.")),"once"==c?($({countNum:$("span.amount").text()}).animate({countNum:d.raised},{duration:4e3,easing:"linear",step:function(){$(".amount").text(FormatNumberBy3(Math.floor(this.countNum),".",","))}}),$.each(d.contributors,function(a,b){$("ul.contributor-list").append(''+b.name+", "+b.city+", "+b.state+"")}),$.each(d.votes,function(a,b){return null===b?"continue":void $("ul.priorities").append(''+b.count+" votes "+b.name+"")}),d.left_days<1&&d.left_hours<1&&d.left_mins<1?$("#campaign-end").html('The campaign is now over but you can still join The Tyee and help bring more great independent journalism to national issues. Thanks to all who signed up.
'):0===d.left_days&&$("#campaign-end").html('Campaign ends tonight at midnight!
')):"update"===c&&($(".amount").text(FormatNumberBy3(d.raised,".",",")),$(".contributor-list li:first").slideUp(function(){$(this).appendTo($(".contributor-list")).slideDown()}),$("ul.priorities li").remove(),$.each(d.votes,function(a,b){return null===b?"continue":void $("ul.priorities").append(''+b.count+" votes "+b.name+"")}),d.percentage>99.99&&(clearInterval(b),$(".progress-bar").html('We did it!'),$(".remaining").text("$0")))}url="https://widgets.thetyee.ca/progress.json?cb=?&campaign=election2015&date_end=2015-04-13&goal=50000&date_start=2015-03-20&multiplier=3",$.getJSON(url,function(b){a(b,"once")});var b=setInterval(function(){$.getJSON(url,function(b){a(b,"update")})},5e3);$.getJSON("https://widgets.thetyee.ca/builderlist.json?date_start=2015-03-20&cb=?",function(a){var b=a.result,c=b.builderlist,d=c.pop(),e=b.count;$("#builder-count").text(FormatNumberBy3(e,".",",")),c.length>=1?($.each(c,function(a,b){$("#builder-list ul").append(''+b.first_name+" "+b.last_name+"")}),$("#builder-list ul").append(' and '+d.first_name+" "+d.last_name+"")):$("#builder-list ul").append(''+d.first_name+" "+d.last_name+"")})});
\ No newline at end of file