Fixes dependencies error on jQuery Datepicker
Manages errors on cells