'Bare-bones' DatePicker
Hiya D,
I know this isn't what you are after, but it might be worth having a look at. It is just a page with the bare-bones of a single date field with the datepicker applied, linked to a folder with the required css, js and images.
This makes it very easy to apply the head and form-field code to an existing form page. There is also a choice of light or dark date picker.
Date Picker