when did not specify range.begin or range.end, it means min or max
add spec
update comment document for Tabs.prototype
setValue should be lead to repaint
removed unuse code copy from Calendar.js
added current element for callback parameters