Updated rangepicker so it can be used on multiple inputs without duplicate code.
Triggered hubevents.subscribe.filters() when a date range is selected.