If a form that containing a datepicker is used for querying with Special:RunQuery everything works fine. If the call to Special:RunQuery is transcluded in a page, the JavaScript (both inline and files) is not loaded.
This bug probably not only applies to the datepicker, but to all other SFI input types as well.
Version: unspecified
Severity: normal