implement datepicker with selectboxes (original html code)