Customize Date Picker jQuery according to managing events with popup