Hi,
in current master, many pages show this error in the js console. The reason is that libraries/header_scripts.inc.php calls js/messages.php which uses $.datepicker, but the date picker comes from js/jquery/jquery-ui-1.8.custom.js which is not included everywhere.