Improved graphing; switched to JQuery UI datepicker widget