added datepicker to support firefox and IE