rem: this.setSpan(this.options.endSpan, $R(this.getRange(this.spans.length-1).max(), this.maximum)); 
add: this.setSpan(this.options.endSpan, $R(this.values.length>1 ? this.getRange(this.spans.length-1).max() : this.value, this.maximum)); 
context:   drawSpans: function() {    var slider = this;    if(this.spans)      $R(0, this.spans.length-1).each(function(r) { slider.setSpan(slider.spans[r], slider.getRange(r)) });    if(this.options.startSpan)      this.setSpan(this.options.startSpan, $R(0, this.getRange(0).min()));    if(this.options.endSpan)      this.setSpan(this.options.endSpan, $R(this.getRange(this.spans.length-1).max(), this.maximum));  },
meta: 4973	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4973/49f60304393b86db5d39c41cf680dddd26905d16/slider.js/buggy/src/slider.js