Added datepicker, a bit of JS code