Issue #1841452 by kalistos: Fixed Javascript error: Uncaught TypeError: Object #<Object> has no method 'datepicker'.