changing the filter details to use tupane javascript