UI and js DOM twiddling for date-range search