Trunk-3829: Support for future dates in jQuery calendar

https://tickets.openmrs.org/browse/TRUNK-3829
Overload the existing function as suggested by Yonatan Grinberg