moving js-filter-form to helper so that it can be shared