Update function.jquery_datepicker.php

Bug fix: [yes]
Feature addition: [no]
Backwards compatibility break: [no]
Tests pass: [na]
Fixes tickets: [#1360]
References: [#1360]
License of the code: LGPLv3+
Documentation PR: ---
Todo: ---