fixed prevent default link bug
moved datepicker into package