Move filter widget into client-side template code and stub out javascript class for it