adds ajax function for filtering groups by instrument