Added version to datepicker object

I've added a version property to the datepicker object