Fixed bug with date picker

Needed different version of js