Flexible date range selector based on jQuery and Bootstrap