setWidth was failing for us in FF, even though we had constructed our attempt as entered in the README:
var chart = d3.timeline();
var svg = d3.select("#timeline1").append("svg").attr("width", 500)
.datum(testData).call(chart);
It looks like setWidth does ask for the attribute as entered during initial construction: