added document ready and reduced the datepickers to 2wq