i created jQuery widgets for legend and xday info controls.