implemented datepicker client-side validation; calendar tweaked to allow programmatic removal of chosen dates; slider tweaked to check for e.key and e.keycode instead of just e.keycode