Added helper javascript for start and end date widget.